<!DOCTYPE HTML><html>
<head>
<? echo $h->meta($title, $kwd, $dpn); ?>
<? require_once("lib.php"); ?>
</head>
<body id="nnews">
<? include_once("header.php"); ?>
<div id="wrap">
		<div class="breadcrumb">
			<a href="./"><?=WEB_INDEX_PAGE?></a> &gt; <a href="news-<?=$cateid?>.html"><?=$cate_name?></a>
			<? if($id>0 ){ ?> &gt; <span><?=$title?></span><? } ?>
		</div><!--breadcrumb end-->
		<div id="" class="w220 left">
			<div class="side_menu">
					<ul class="side_menu_ul">
						<?
							$str='';
							foreach ($arr_cate as $val) {
								$curr=''; if($cateid==$val['id']) $curr=' class="current" ';
								$str.='<li '.$curr.'><a href="news-'.$val['id'].'.html">'.$val['name_'.$lang].'</a></li>';
							}
							echo $str;
						?>
					</ul>
				</div>
				<div class="ad_right">
				<a href="<?=$ad_right['link']?>"><img src="upload/<?=$ad_right['pic']?>" alt="<?=$ad_right['name']?>" width="220" height="260" /></a>
			</div>
		</div><!--. w220-->
		<div id="" class="right w720">
			
				<? if($id>0){ ?>
				<div class="news_wrap">
				<h1 class="h1news tcenter"><?=$info['name']?></h1>
				<div class="news_info tcenter"><?=$info['created_time']?> &nbsp; <?=WEB_READ?>: <?=$info['hit_count']?> &nbsp; </div>
				<div class="content"><?=$info['content']?></div>

                    <div id="tags_news">
                        <div id="tags_list"><span>标签：</span>
                            <?foreach($tag_info as $val_ti){?>
                                <a class="list_more" href="search.php?tag_id=<?=$val_ti['id']?>"><?=$val_ti['name_'.$lang]?></a>
                            <?}?></div>
                    </div>
				<div class="bdsharebuttonbox"><a href="#" class="bds_more" data-cmd="more"></a><a href="#" class="bds_qzone" data-cmd="qzone" title="<?=WEB_SHARE_TO_QZONE?>"></a><a href="#" class="bds_tsina" data-cmd="tsina" title="<?=WEB_SHARE_TO_SINA?>"></a><a href="#" class="bds_tqq" data-cmd="tqq" title="<?=WEB_SHARE_TO_TQQ?>"></a><a href="#" class="bds_renren" data-cmd="renren" title="<?=WEB_SHARE_TO_RENREN?>"></a><a href="#" class="bds_weixin" data-cmd="weixin" title="<?=WEB_SHARE_TO_WEIXIN?>"></a></div>
				<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
				
				<div class="prev_next">
					<? 
						if(! is_numeric($right)) echo WEB_PREVIOUS_CHAPTER.': <a href="new-'.$right['id'].'.html">'.$right['name'].'</a><br />';
						if(! is_numeric($left)) echo WEB_NEXT_CHAPTER.': <a href="new-'.$left['id'].'.html">'.$left['name'].'</a><br />';
					 ?>
				</div>
				</div>
				<? } else { ?>
				<div class="">
				<div class="h2news">
					<h2><?=$cate_name?></h2>
				</div>
				<ul class="news">
					<?
						$str=''; $k=0;
						foreach ($info as $val) {
							$str.='<li><span>'.$val['created_time'].'</span><a href="new-'.$val['id'].'.html">'.$val['name'].'</a></li>';
							$k++;
						}
						echo $str;
					?>
				</ul>
					<? 
					if($k==0) echo '<p class="red"><br /> * '.WEB_NO_SUCH_DATA.'<br /><br /></p>';
					echo echo_page($page, $pages, $url.'-'.$cateid.'-p',$lang_id); ?>
				</div>
				<? } ?>
				<div class="clear"></div>
			
			
	</div><!--# -->

		<div class="clear"></div>
	<div class="px20"></div>
	<div class="clear"></div>
</div>
<? include("footer.php"); ?>
</body>
</html>